package com.bw.lib_net

import com.bw.lib_net.entity.ResponseEntity
import com.bw.lib_net.entity.UserEntity
import retrofit2.Call
import retrofit2.http.POST
import retrofit2.http.Query

/**
 * @Author : ZhouZiYao
 * @Time : On 2023/11/17 14:27
 * @Description :
 */
interface TokenApi {

    @POST("/token/refreshToken")
    fun refreshToken(@Query("username")username: String, @Query("password")password: String): Call<ResponseEntity<UserEntity>>

}